package com.xhh.nphm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xhh.nphm.system.domain.GetAWaitReplyMailEty;
import com.xhh.nphm.system.mapper.GetAWaitReplyMailDao;
import com.xhh.nphm.system.service.GetAWaitReplyMailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GetAWaitReplyMailServiceImpl extends ServiceImpl<GetAWaitReplyMailDao, GetAWaitReplyMailEty> implements GetAWaitReplyMailService {
    @Autowired
    private GetAWaitReplyMailDao getAWaitReplyMailDao;
    @Override
    public boolean checkBySbId(Integer sbId) {
        return getAWaitReplyMailDao.checkBySbId(sbId) == 0;
    }
}
